﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;

using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Exceptions.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public class ExceptionDescriptionSettingCollection : KeyedCollection<string, ExceptionDescriptionSetting>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="item"></param>
        /// <returns></returns>
        protected override string GetKeyForItem(ExceptionDescriptionSetting item)
        {
            return item.Code;
        }
    }
}
